package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:
 * @author: qinjianhui
 * @create: 2024-07-15 16:39
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_attribute")
public class DeviceAttributePo extends BaseEntity {

    /*
    * 用户id
    * */
    @Schema(name = "deviceId",description = "用户id")
    private String deviceId;

    /*
    * 部门id
    * */
    @Schema(name = "deviceTypeCode",description = "部门id")
    private String deviceTypeCode;

    /*
     * 报文：[{"electrical": "58",  "temperature" :"23"}]
     * */
    @Schema(name = "attribute",description = "报文：[{\"electrical\": \"58\",  \"temperature\" :\"23\"}]")
    private String attribute;
}

